DataSource for Entity Framework in WPF
C1.LiveLinq.Indexing.Search Namespace / IIndexScanner<T,TKey> Interface / FindBetween Method
Minimum key value to search for.
If true, the result includes items with the minimum key value.
Maximum key value to search for.
If true, the result includes items with the maximum key value.
An optional condition that found items must satisfy.
Optionally specifies the order of the key values to sort the result (C1.LiveLinq.Order.Unordered if sorting is not required).

In This Topic
    FindBetween Method (IIndexScanner<T,TKey>)
    In This Topic
    Finds items with key values in the interval between the specified values.
    Syntax
    'Declaration
     
    Function FindBetween( _
       ByVal min As TKey, _
       ByVal minInclusive As Boolean, _
       ByVal max As TKey, _
       ByVal maxInclusive As Boolean, _
       ByVal keyPredicate As Func(Of TKey,Boolean), _
       ByVal order As Order _
    ) As IndexQuery(Of T,TKey)
    IndexQuery<T,TKey> FindBetween( 
       TKey min,
       bool minInclusive,
       TKey max,
       bool maxInclusive,
       Func<TKey,bool> keyPredicate,
       Order order
    )

    Parameters

    min
    Minimum key value to search for.
    minInclusive
    If true, the result includes items with the minimum key value.
    max
    Maximum key value to search for.
    maxInclusive
    If true, the result includes items with the maximum key value.
    keyPredicate
    An optional condition that found items must satisfy.
    order
    Optionally specifies the order of the key values to sort the result (C1.LiveLinq.Order.Unordered if sorting is not required).

    Return Value

    An object enumerating all items with key values within the specified limits.
    See Also